package cn.huiyunche.base.service.form;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.DecimalMin;
import java.math.BigDecimal;

/**
 * @ClassName: QueryFeesForm
 * @Description: PC端查询费用参数
 * @author: Aaron
 * @date: 2016年9月26日 下午1:56:47
 */
public class QueryFeesForm {

    //始发地编码
    private String depaCode;

    //目的地编码
    private String destCode;

    //始发省名称
    private String depaProvinceName;

    //始发市名称
    private String depaCityName;

    //始发区/县名称
    private String depaCountyName;

    //目的地省名称
    private String destProvinceName;

    //目的地市名称
    private String destCityName;

    //目的地区/县名称
    private String destCountyName;

    //物流产品id
    private Long productId;

    //车型信息
    @NotBlank(message = "车辆信息不能为空！")
    private String vehicles;

    //总车辆估值
    @DecimalMin(value = "1", message = "估值不能小于1！")
    @DecimalMax(value = "10000000", message = "估值不能大于10000000！")
    private BigDecimal estValue;

    //是否有保险
    private Boolean hasInsurance;

    //是否上门提车
    private Boolean isPick;

    //是否送车上门
    private Boolean isDeliv;

    public String getDepaCode() {
        return depaCode;
    }

    public void setDepaCode(String depaCode) {
        this.depaCode = depaCode;
    }

    public String getDestCode() {
        return destCode;
    }

    public void setDestCode(String destCode) {
        this.destCode = destCode;
    }

    public String getDepaProvinceName() {
        return depaProvinceName;
    }

    public void setDepaProvinceName(String depaProvinceName) {
        this.depaProvinceName = depaProvinceName;
    }

    public String getDepaCityName() {
        return depaCityName;
    }

    public void setDepaCityName(String depaCityName) {
        this.depaCityName = depaCityName;
    }

    public String getDepaCountyName() {
        return depaCountyName;
    }

    public void setDepaCountyName(String depaCountyName) {
        this.depaCountyName = depaCountyName;
    }

    public String getDestProvinceName() {
        return destProvinceName;
    }

    public void setDestProvinceName(String destProvinceName) {
        this.destProvinceName = destProvinceName;
    }

    public String getDestCityName() {
        return destCityName;
    }

    public void setDestCityName(String destCityName) {
        this.destCityName = destCityName;
    }

    public String getDestCountyName() {
        return destCountyName;
    }

    public void setDestCountyName(String destCountyName) {
        this.destCountyName = destCountyName;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getVehicles() {
        return vehicles;
    }

    public void setVehicles(String vehicles) {
        this.vehicles = vehicles;
    }

    public BigDecimal getEstValue() {
        return estValue;
    }

    public void setEstValue(BigDecimal estValue) {
        this.estValue = estValue;
    }

    public Boolean getHasInsurance() {
        return hasInsurance;
    }

    public void setHasInsurance(Boolean hasInsurance) {
        this.hasInsurance = hasInsurance;
    }

    public Boolean getIsPick() {
        return isPick;
    }

    public void setIsPick(Boolean isPick) {
        this.isPick = isPick;
    }

    public Boolean getIsDeliv() {
        return isDeliv;
    }

    public void setIsDeliv(Boolean isDeliv) {
        this.isDeliv = isDeliv;
    }

    @Override
    public String toString() {
        return "QueryFeesForm [depaCode=" + depaCode + ", destCode=" + destCode + ", depaProvinceName="
                + depaProvinceName + ", depaCityName=" + depaCityName + ", depaCountyName=" + depaCountyName
                + ", destProvinceName=" + destProvinceName + ", destCityName=" + destCityName + ", destCountyName="
                + destCountyName + ", productId=" + productId + ", vehicles=" + vehicles + ", estValue=" + estValue
                + ", hasInsurance=" + hasInsurance + ", isPick=" + isPick + ", isDeliv=" + isDeliv + "]";
    }
}
